﻿using BotDetector.Core.Model;

namespace BotDetector.Core.Converter
{
    public class BingConverter : IConverter<Bing.WebResult, ResultItem>
    {
        public ResultItem Convert(Bing.WebResult from)
        {
            ResultItem to = new ResultItem() {
                Title=from.Title, 
                Description=from.Description, 
                Url=from.Url
            };           
            return to;
        }
    }
}
